Skip to content

[PAY-11278]: Agregar cuotas de un payment method v2 - #145

Merged
mari-hernandez merged 1 commit into
masterfrom
pay-11278-sdk-de-python-cuotas-de-un-payment-method
Nov 16, 2026
Merged

mari-hernandez merged 1 commit into
masterfrom
pay-11278-sdk-de-python-cuotas-de-un-payment-method

Conversation

@mari-hernandez

@mari-hernandez mari-hernandez commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Estoy sumando Checkout Fields: campos de tarjeta de Fintoc que el merchant monta en su propia página. Con una tarjeta guardada, el merchant necesita saber en cuántas cuotas puede cobrar un monto antes de hacer el cobro. Esta PR lleva esa consulta al SDK.

  • client.v2.payment_methods.installments(id, amount=..., currency=...) devuelve available_installments, la lista de cuotas posibles (vacía si la tarjeta no lleva cuotas).

Tests: unit tests, con la respuesta del endpoint simulada.

Consideraciones: se mergea cuando el endpoint de cuotas esté en producción; antes, el método responde 404. La prueba contra la API en test la hago cuando esté desplegado.

Release notes

  • Added client.v2.payment_methods.installments(id, amount=..., currency=...) to get the installments available to pay an amount with a saved card.

Requirements

None.

Additional changes

None.

@mari-hernandez

Copy link
Copy Markdown
Contributor Author

fin review

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mari-hernandez
mari-hernandez marked this pull request as ready for review November 16, 2026 16:02

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mari-hernandez
mari-hernandez merged commit 1658eab into master Nov 16, 2026
10 checks passed
@mari-hernandez
mari-hernandez deleted the pay-11278-sdk-de-python-cuotas-de-un-payment-method branch November 16, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant